package com.bob.web.common.exception;

import com.bob.web.common.constant.CodeConstant;
import lombok.Data;

/**
 * 名称: ServiceException<br>
 * 描述:服务异常<br>
 * 类型: JAVA<br>
 * 最近修改时间:2017/7/7 15:00<br>
 *
 * @author BoYangsh
 * @version [版本号, V1.0]
 * @since 2017/7/7 15:00
 */
@Data
public class ServiceException extends RuntimeException {
	private CodeConstant code;

	public ServiceException(CodeConstant code) {
		this.code = code;
	}
}
